package com.dwxt.community.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andIntegralIsNull() {
            addCriterion("integral is null");
            return (Criteria) this;
        }

        public Criteria andIntegralIsNotNull() {
            addCriterion("integral is not null");
            return (Criteria) this;
        }

        public Criteria andIntegralEqualTo(Integer value) {
            addCriterion("integral =", value, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralNotEqualTo(Integer value) {
            addCriterion("integral <>", value, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralGreaterThan(Integer value) {
            addCriterion("integral >", value, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralGreaterThanOrEqualTo(Integer value) {
            addCriterion("integral >=", value, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralLessThan(Integer value) {
            addCriterion("integral <", value, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralLessThanOrEqualTo(Integer value) {
            addCriterion("integral <=", value, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralIn(List<Integer> values) {
            addCriterion("integral in", values, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralNotIn(List<Integer> values) {
            addCriterion("integral not in", values, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralBetween(Integer value1, Integer value2) {
            addCriterion("integral between", value1, value2, "integral");
            return (Criteria) this;
        }

        public Criteria andIntegralNotBetween(Integer value1, Integer value2) {
            addCriterion("integral not between", value1, value2, "integral");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationIsNull() {
            addCriterion("is_name_authentication is null");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationIsNotNull() {
            addCriterion("is_name_authentication is not null");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationEqualTo(Integer value) {
            addCriterion("is_name_authentication =", value, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationNotEqualTo(Integer value) {
            addCriterion("is_name_authentication <>", value, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationGreaterThan(Integer value) {
            addCriterion("is_name_authentication >", value, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_name_authentication >=", value, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationLessThan(Integer value) {
            addCriterion("is_name_authentication <", value, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationLessThanOrEqualTo(Integer value) {
            addCriterion("is_name_authentication <=", value, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationIn(List<Integer> values) {
            addCriterion("is_name_authentication in", values, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationNotIn(List<Integer> values) {
            addCriterion("is_name_authentication not in", values, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationBetween(Integer value1, Integer value2) {
            addCriterion("is_name_authentication between", value1, value2, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIsNameAuthenticationNotBetween(Integer value1, Integer value2) {
            addCriterion("is_name_authentication not between", value1, value2, "isNameAuthentication");
            return (Criteria) this;
        }

        public Criteria andIdentityCardIsNull() {
            addCriterion("identity_card is null");
            return (Criteria) this;
        }

        public Criteria andIdentityCardIsNotNull() {
            addCriterion("identity_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdentityCardEqualTo(String value) {
            addCriterion("identity_card =", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardNotEqualTo(String value) {
            addCriterion("identity_card <>", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardGreaterThan(String value) {
            addCriterion("identity_card >", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardGreaterThanOrEqualTo(String value) {
            addCriterion("identity_card >=", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardLessThan(String value) {
            addCriterion("identity_card <", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardLessThanOrEqualTo(String value) {
            addCriterion("identity_card <=", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardLike(String value) {
            addCriterion("identity_card like", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardNotLike(String value) {
            addCriterion("identity_card not like", value, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardIn(List<String> values) {
            addCriterion("identity_card in", values, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardNotIn(List<String> values) {
            addCriterion("identity_card not in", values, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardBetween(String value1, String value2) {
            addCriterion("identity_card between", value1, value2, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIdentityCardNotBetween(String value1, String value2) {
            addCriterion("identity_card not between", value1, value2, "identityCard");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadIsNull() {
            addCriterion("is_house_head is null");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadIsNotNull() {
            addCriterion("is_house_head is not null");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadEqualTo(Integer value) {
            addCriterion("is_house_head =", value, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadNotEqualTo(Integer value) {
            addCriterion("is_house_head <>", value, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadGreaterThan(Integer value) {
            addCriterion("is_house_head >", value, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_house_head >=", value, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadLessThan(Integer value) {
            addCriterion("is_house_head <", value, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadLessThanOrEqualTo(Integer value) {
            addCriterion("is_house_head <=", value, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadIn(List<Integer> values) {
            addCriterion("is_house_head in", values, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadNotIn(List<Integer> values) {
            addCriterion("is_house_head not in", values, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadBetween(Integer value1, Integer value2) {
            addCriterion("is_house_head between", value1, value2, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andIsHouseHeadNotBetween(Integer value1, Integer value2) {
            addCriterion("is_house_head not between", value1, value2, "isHouseHead");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlIsNull() {
            addCriterion("head_photo_url is null");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlIsNotNull() {
            addCriterion("head_photo_url is not null");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlEqualTo(String value) {
            addCriterion("head_photo_url =", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlNotEqualTo(String value) {
            addCriterion("head_photo_url <>", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlGreaterThan(String value) {
            addCriterion("head_photo_url >", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlGreaterThanOrEqualTo(String value) {
            addCriterion("head_photo_url >=", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlLessThan(String value) {
            addCriterion("head_photo_url <", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlLessThanOrEqualTo(String value) {
            addCriterion("head_photo_url <=", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlLike(String value) {
            addCriterion("head_photo_url like", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlNotLike(String value) {
            addCriterion("head_photo_url not like", value, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlIn(List<String> values) {
            addCriterion("head_photo_url in", values, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlNotIn(List<String> values) {
            addCriterion("head_photo_url not in", values, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlBetween(String value1, String value2) {
            addCriterion("head_photo_url between", value1, value2, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andHeadPhotoUrlNotBetween(String value1, String value2) {
            addCriterion("head_photo_url not between", value1, value2, "headPhotoUrl");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeIsNull() {
            addCriterion("last_sign_time is null");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeIsNotNull() {
            addCriterion("last_sign_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeEqualTo(Date value) {
            addCriterion("last_sign_time =", value, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeNotEqualTo(Date value) {
            addCriterion("last_sign_time <>", value, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeGreaterThan(Date value) {
            addCriterion("last_sign_time >", value, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_sign_time >=", value, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeLessThan(Date value) {
            addCriterion("last_sign_time <", value, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_sign_time <=", value, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeIn(List<Date> values) {
            addCriterion("last_sign_time in", values, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeNotIn(List<Date> values) {
            addCriterion("last_sign_time not in", values, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeBetween(Date value1, Date value2) {
            addCriterion("last_sign_time between", value1, value2, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andLastSignTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_sign_time not between", value1, value2, "lastSignTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCommunityIdIsNull() {
            addCriterion("community_id is null");
            return (Criteria) this;
        }

        public Criteria andCommunityIdIsNotNull() {
            addCriterion("community_id is not null");
            return (Criteria) this;
        }

        public Criteria andCommunityIdEqualTo(Integer value) {
            addCriterion("community_id =", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdNotEqualTo(Integer value) {
            addCriterion("community_id <>", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdGreaterThan(Integer value) {
            addCriterion("community_id >", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("community_id >=", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdLessThan(Integer value) {
            addCriterion("community_id <", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdLessThanOrEqualTo(Integer value) {
            addCriterion("community_id <=", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdIn(List<Integer> values) {
            addCriterion("community_id in", values, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdNotIn(List<Integer> values) {
            addCriterion("community_id not in", values, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdBetween(Integer value1, Integer value2) {
            addCriterion("community_id between", value1, value2, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("community_id not between", value1, value2, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityNameIsNull() {
            addCriterion("community_name is null");
            return (Criteria) this;
        }

        public Criteria andCommunityNameIsNotNull() {
            addCriterion("community_name is not null");
            return (Criteria) this;
        }

        public Criteria andCommunityNameEqualTo(String value) {
            addCriterion("community_name =", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotEqualTo(String value) {
            addCriterion("community_name <>", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameGreaterThan(String value) {
            addCriterion("community_name >", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameGreaterThanOrEqualTo(String value) {
            addCriterion("community_name >=", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameLessThan(String value) {
            addCriterion("community_name <", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameLessThanOrEqualTo(String value) {
            addCriterion("community_name <=", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameLike(String value) {
            addCriterion("community_name like", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotLike(String value) {
            addCriterion("community_name not like", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameIn(List<String> values) {
            addCriterion("community_name in", values, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotIn(List<String> values) {
            addCriterion("community_name not in", values, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameBetween(String value1, String value2) {
            addCriterion("community_name between", value1, value2, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotBetween(String value1, String value2) {
            addCriterion("community_name not between", value1, value2, "communityName");
            return (Criteria) this;
        }

        public Criteria andHouseNumberIsNull() {
            addCriterion("house_number is null");
            return (Criteria) this;
        }

        public Criteria andHouseNumberIsNotNull() {
            addCriterion("house_number is not null");
            return (Criteria) this;
        }

        public Criteria andHouseNumberEqualTo(String value) {
            addCriterion("house_number =", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotEqualTo(String value) {
            addCriterion("house_number <>", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberGreaterThan(String value) {
            addCriterion("house_number >", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberGreaterThanOrEqualTo(String value) {
            addCriterion("house_number >=", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberLessThan(String value) {
            addCriterion("house_number <", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberLessThanOrEqualTo(String value) {
            addCriterion("house_number <=", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberLike(String value) {
            addCriterion("house_number like", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotLike(String value) {
            addCriterion("house_number not like", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberIn(List<String> values) {
            addCriterion("house_number in", values, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotIn(List<String> values) {
            addCriterion("house_number not in", values, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberBetween(String value1, String value2) {
            addCriterion("house_number between", value1, value2, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotBetween(String value1, String value2) {
            addCriterion("house_number not between", value1, value2, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxIsNull() {
            addCriterion("today_integral_max is null");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxIsNotNull() {
            addCriterion("today_integral_max is not null");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxEqualTo(Integer value) {
            addCriterion("today_integral_max =", value, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxNotEqualTo(Integer value) {
            addCriterion("today_integral_max <>", value, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxGreaterThan(Integer value) {
            addCriterion("today_integral_max >", value, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("today_integral_max >=", value, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxLessThan(Integer value) {
            addCriterion("today_integral_max <", value, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxLessThanOrEqualTo(Integer value) {
            addCriterion("today_integral_max <=", value, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxIn(List<Integer> values) {
            addCriterion("today_integral_max in", values, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxNotIn(List<Integer> values) {
            addCriterion("today_integral_max not in", values, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxBetween(Integer value1, Integer value2) {
            addCriterion("today_integral_max between", value1, value2, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andTodayIntegralMaxNotBetween(Integer value1, Integer value2) {
            addCriterion("today_integral_max not between", value1, value2, "todayIntegralMax");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdIsNull() {
            addCriterion("dong_mei_id is null");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdIsNotNull() {
            addCriterion("dong_mei_id is not null");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdEqualTo(String value) {
            addCriterion("dong_mei_id =", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdNotEqualTo(String value) {
            addCriterion("dong_mei_id <>", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdGreaterThan(String value) {
            addCriterion("dong_mei_id >", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdGreaterThanOrEqualTo(String value) {
            addCriterion("dong_mei_id >=", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdLessThan(String value) {
            addCriterion("dong_mei_id <", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdLessThanOrEqualTo(String value) {
            addCriterion("dong_mei_id <=", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdLike(String value) {
            addCriterion("dong_mei_id like", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdNotLike(String value) {
            addCriterion("dong_mei_id not like", value, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdIn(List<String> values) {
            addCriterion("dong_mei_id in", values, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdNotIn(List<String> values) {
            addCriterion("dong_mei_id not in", values, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdBetween(String value1, String value2) {
            addCriterion("dong_mei_id between", value1, value2, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andDongMeiIdNotBetween(String value1, String value2) {
            addCriterion("dong_mei_id not between", value1, value2, "dongMeiId");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentIsNull() {
            addCriterion("work_department is null");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentIsNotNull() {
            addCriterion("work_department is not null");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentEqualTo(String value) {
            addCriterion("work_department =", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentNotEqualTo(String value) {
            addCriterion("work_department <>", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentGreaterThan(String value) {
            addCriterion("work_department >", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("work_department >=", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentLessThan(String value) {
            addCriterion("work_department <", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentLessThanOrEqualTo(String value) {
            addCriterion("work_department <=", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentLike(String value) {
            addCriterion("work_department like", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentNotLike(String value) {
            addCriterion("work_department not like", value, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentIn(List<String> values) {
            addCriterion("work_department in", values, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentNotIn(List<String> values) {
            addCriterion("work_department not in", values, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentBetween(String value1, String value2) {
            addCriterion("work_department between", value1, value2, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andWorkDepartmentNotBetween(String value1, String value2) {
            addCriterion("work_department not between", value1, value2, "workDepartment");
            return (Criteria) this;
        }

        public Criteria andIsOfficerIsNull() {
            addCriterion("is_officer is null");
            return (Criteria) this;
        }

        public Criteria andIsOfficerIsNotNull() {
            addCriterion("is_officer is not null");
            return (Criteria) this;
        }

        public Criteria andIsOfficerEqualTo(Integer value) {
            addCriterion("is_officer =", value, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerNotEqualTo(Integer value) {
            addCriterion("is_officer <>", value, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerGreaterThan(Integer value) {
            addCriterion("is_officer >", value, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_officer >=", value, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerLessThan(Integer value) {
            addCriterion("is_officer <", value, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerLessThanOrEqualTo(Integer value) {
            addCriterion("is_officer <=", value, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerIn(List<Integer> values) {
            addCriterion("is_officer in", values, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerNotIn(List<Integer> values) {
            addCriterion("is_officer not in", values, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerBetween(Integer value1, Integer value2) {
            addCriterion("is_officer between", value1, value2, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andIsOfficerNotBetween(Integer value1, Integer value2) {
            addCriterion("is_officer not between", value1, value2, "isOfficer");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeIsNull() {
            addCriterion("last_login_time is null");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeIsNotNull() {
            addCriterion("last_login_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeEqualTo(Date value) {
            addCriterion("last_login_time =", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeNotEqualTo(Date value) {
            addCriterion("last_login_time <>", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeGreaterThan(Date value) {
            addCriterion("last_login_time >", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_login_time >=", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeLessThan(Date value) {
            addCriterion("last_login_time <", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_login_time <=", value, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeIn(List<Date> values) {
            addCriterion("last_login_time in", values, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeNotIn(List<Date> values) {
            addCriterion("last_login_time not in", values, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeBetween(Date value1, Date value2) {
            addCriterion("last_login_time between", value1, value2, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andLastLoginTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_login_time not between", value1, value2, "lastLoginTime");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdIsNull() {
            addCriterion("fang_hui_id is null");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdIsNotNull() {
            addCriterion("fang_hui_id is not null");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdEqualTo(String value) {
            addCriterion("fang_hui_id =", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdNotEqualTo(String value) {
            addCriterion("fang_hui_id <>", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdGreaterThan(String value) {
            addCriterion("fang_hui_id >", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdGreaterThanOrEqualTo(String value) {
            addCriterion("fang_hui_id >=", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdLessThan(String value) {
            addCriterion("fang_hui_id <", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdLessThanOrEqualTo(String value) {
            addCriterion("fang_hui_id <=", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdLike(String value) {
            addCriterion("fang_hui_id like", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdNotLike(String value) {
            addCriterion("fang_hui_id not like", value, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdIn(List<String> values) {
            addCriterion("fang_hui_id in", values, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdNotIn(List<String> values) {
            addCriterion("fang_hui_id not in", values, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdBetween(String value1, String value2) {
            addCriterion("fang_hui_id between", value1, value2, "fangHuiId");
            return (Criteria) this;
        }

        public Criteria andFangHuiIdNotBetween(String value1, String value2) {
            addCriterion("fang_hui_id not between", value1, value2, "fangHuiId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}